package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@ToString
public class PaymentHandling {
    private Long id;

    //投保人的信息
    private Client applicant;

    //需要缴纳的费用  从核保那边获取
    private BigDecimal amountPay;

    private int limitYear;

    //核保的日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date auditDate;

    //投保的机构信息
    private Organization organization;

    //保单号
    private Insurancebill bill;
}